package com.czh.springboot04.service;

import com.czh.springboot04.entity.CourseReply;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CourseReplyService {

    int insertCourseReply(CourseReply courseReply);
    int updateCourseReplyById(CourseReply courseReply);
    CourseReply selectCourseReplyById(Integer id);
    int deleteCourseReplyById(Integer id);
    int deleteCourseReplyByList(List<Integer> idList);
    PageInfo<CourseReply> selectCourseReplyAll(String nickName, String title, int pageNum, int pageSize);

}
